/*
 * @Author: 张小平
 * @Date:   2025-05-01
 * @Email:  qqshuqian@163.com
 * @Copyright © 2024 aseyun. All rights reserved.
 */

import Store from '@/framework-core/store/'
import website from '@/framework-core/config/website'
export default [
  {
    path: '/form/preview',
    component: () =>
        import( /* webpackChunkName: "views" */ '@/framework-code/form//preview.vue'),
    name: '',
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false
    }
  },

  {
    path: '/form/result',
    component: () =>
        import( /* webpackChunkName: "views" */ '@/framework-code/form//previewResult.vue'),
    name: '',
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false
    }
  },
  {
    path: '/query/preview',
    component: () =>
        import( /* webpackChunkName: "views" */ '@/framework-admin/views/form/formqueryapp/preview.vue'),
    name: '',
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false
    }
  },

  {
    path: '/form/design',
    component: () =>
        import( /* webpackChunkName: "views" */ '@/framework-code/form/index.vue'),
    name: '',
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false
    }
  },
  // {
  //   path: '/oa',
  //   component: () =>
  //       import( /* webpackChunkName: "views" */ '@/framework-code/index.vue'),
  //   name: '',
  //   meta: {
  //     keepAlive: true,
  //     isTab: false,
  //     isAuth: false
  //   }
  //
  // },
  {
    path: '/oa/design',
    component: () =>
        import( /* webpackChunkName: "views" */ '@/framework-code/design/Layout.vue'),
    name: '',
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false
    }
  },

  {
    path: '/oa/edit',
    component: () =>
        import( /* webpackChunkName: "views" */ '@/framework-code/flowsave.vue'),
    name: 'oaEdit',
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false
    }
  },
  // {
  //   path: '/oa/flow',
  //   component: () =>
  //       import( /* webpackChunkName: "views" */ '@/framework-code/flow/preview.vue'),
  //   name: '',
  //   meta: {
  //     keepAlive: true,
  //     isTab: false,
  //     isAuth: false
  //   }
  // },
  //   // 待办
  // {
  //   path: '/oa/todo',
  //   name: 'myTodo',
  //   component: () => import('@/framework-code/flow/oa/myTodo/index.vue'),
  //   meta: {
  //     keepAlive: true,
  //     isTab: false,
  //     isAuth: false
  //   }
  // },
  // // 申请
  // {
  //   path: '/oa/application',
  //   name: 'myApply',
  //   component: () => import('@/framework-code/flow/oa/myApply/index.vue'),
  //   meta: {
  //     keepAlive: true,
  //     isTab: false,
  //     isAuth: false
  //   }
  // },
  // // 抄送
  // {
  //   path: '/oa/cc',
  //   name: 'myCC',
  //   component: () => import('@/framework-code/flow/oa/myCc/index.vue'),
  //   meta: {
  //     keepAlive: true,
  //     isTab: false,
  //     isAuth: false
  //   }
  // },
  // // 参与
  // {
  //   path: '/oa/myJoins',
  //   name: 'myJoin',
  //   component: () => import('@/framework-code/flow/oa/myJoin/index.vue'),
  //   meta: {
  //     keepAlive: true,
  //     isTab: false,
  //     isAuth: false
  //   }
  // },
  {
    path: '/chat',
    component: () =>
        import( /* webpackChunkName: "views" */ '@/framework-admin/views/chatgpt/chat/index.vue'),
    name: '',
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false
    }
  }
]
